home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / earcd / text / edit / envbat10.lha / envBAT10 / Install < prev    next >
Text File  |  1997-01-17  |  2KB  |  90 lines

  1. ; $VER: 1.0 All rights reserved.
  2.  
  3. (delopts "oknodelete" "force" "askuser")
  4. (complete 0)
  5.  
  6. (if (exists "GOLDED:" (NOREQ))
  7.  
  8.     (
  9.         (set vernum (getversion "golded:golded"))
  10.  
  11.         (set ver (/ vernum 65536))
  12.         (set rev (- vernum (* ver 65536)))
  13.  
  14.         (set version (+ (* 10 ver) rev))
  15.  
  16.         (if (< version 40)
  17.  
  18.             (
  19.                 (message "\nSorry, GoldED 4.0.0 or better required")
  20.  
  21.                 (exit (quiet))
  22.             )
  23.         )
  24.  
  25.         (message (cat "\n"
  26.  
  27.             "                                            \n"
  28.             "Script file editing mode for GoldED 4       \n"
  29.             "                                            \n"
  30.             "©1996 Dietmar Eilert                        \n"
  31.             "      All Rights Reserved.                  \n"
  32.             "                                            \n"
  33.             "      E-Mail: dietmar@tomate.tng.oche.de    \n"
  34.             "                                            \n"
  35.             "GoldED Release 4.0.0+ required.             \n"
  36.         ))
  37.  
  38.         (if (not (exists "golded:syntax"))
  39.  
  40.             (makedir "golded:syntax")
  41.         )
  42.  
  43.         (copylib
  44.  
  45.             (prompt "Install syntax parser ?")
  46.             (source "syntax/warpScript.parser")
  47.             (dest   "golded:syntax")
  48.             (confirm)
  49.             (help @copylib-help)
  50.         )
  51.  
  52.         ; install registry editor (if not yet installed)
  53.  
  54.         (if (not (exists "golded:tools"))
  55.  
  56.             (makedir "golded:tools")
  57.         )
  58.  
  59.         (if (not (exists "golded:tools/regedit"))
  60.  
  61.             (makedir "golded:tools/regedit")
  62.         )
  63.  
  64.         (copylib
  65.  
  66.             (prompt "Install registry editor ?")
  67.             (source "bin/regedit" )
  68.             (dest   "golded:tools/regedit")
  69.             (confirm)
  70.             (help @copylib-help)
  71.         )
  72.  
  73.         ; update registry
  74.  
  75.         (working "Updating registry...")
  76.  
  77.         (run "golded:tools/regedit/regedit script=install.bat")
  78.     )
  79.  
  80.     (message (cat "\n"
  81.  
  82.         "Please install GoldED before attempting to\n"
  83.         "install this client.                      \n"
  84.     ))
  85. )
  86.  
  87. (exit (quiet))
  88.  
  89. (welcome)
  90.